#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include<QMenu>
#include<QMenuBar>

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();


private:
    QMenu *menu[3];
    QAction *act[2];
    QMenuBar *menubar;

private slots:
    void triggerMenu(QAction*);


};
#endif // WIDGET_H
